package cn.kust.serviceinterestpoint.service;

import cn.kust.serviceinterestpoint.entity.InterestPicture;
import cn.kust.serviceinterestpoint.entity.vo.PictureAndVideoDTO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author microTourism
 * @since 2022-07-25
 */
public interface InterestPictureService extends IService<InterestPicture> {

    /**
     * 根据兴趣点id查询他的所有图片
     * @param interestId
     * @return
     */
    List<PictureAndVideoDTO> getAllPicturesByInterestId(Long interestId);


    //void removeByInterestId(Long id);
}
